15. Units in CSS
Units in CSS
Units in CSS
Just to recap, here are the changes you'll make to the webpage:
- Set the first div's
width
to100px
(pixels) - Set the second div's
height
to200px
(pixels) - Set the third div's
margin
to1em
- Set the fourth div's
font-size
to2em
Workspace
This section contains either a workspace (it can be a Jupyter Notebook workspace or an online code editor work space, etc.) and it cannot be automatically downloaded to be generated here. Please access the classroom with your account and manually download the workspace to your local machine. Note that for some courses, Udacity upload the workspace files onto https://github.com/udacity, so you may be able to download them there.
Workspace Information:
- Default file path:
- Workspace type: html-live
- Opened files (when workspace is loaded): n/a
Solution
Feel free to review the file named Solution.html
in the above workspace. For an in-depth look at how we approached this exercise, check out the video below:
Units in CSS